import $http from '@/assets/js/http'
//用户管理api

//用户列表
export function userList(param){
	return $http.get('/manage/user/list',{
		params:{
			mobile:param.mobile,
			//logo:param.logo,
			nickName:param.nickName,
			gender:param.gender,
			isDisabled:param.isDisabled,
			isEnterprise:param.isEnterprise,
			pageIndex:param.pageIndex,
			pageSize:param.pageSize
		}
	})
}



//取消冻结
export function userIsHot(id) {
    return $http.post('/manage/user/userIsFreeze', {
        ids:id,
        isDisabled:0,
    });
}

//冻结
export function userIsCool(id) {
    return $http.post('/manage/user/userIsFreeze', {
        ids:id,
        isDisabled:1,
    });
}
